package com.javaprint.order.settings;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;

@Data
@AllArgsConstructor
@NoArgsConstructor
@XmlRootElement(name = "tmParameters")
public class TmParameters {
    @XmlElement(name = "x")
    private Integer x;
    @XmlElement(name = "y")
    private Integer y;
    @XmlElement(name = "width")
    private Integer width;
    @XmlElement(name = "height")
    private Integer height;
    @XmlElement(name = "path")
    private String path;
    @XmlElement(name = "titleFontName")
    private String titleFontName;
    @XmlElement(name = "titleSize")
    private Integer titleSize;
    @XmlElement(name = "addressSize")
    private Integer addressSize;
    @XmlElement(name = "numberSize")
    private Integer numberSize;
    @XmlElement(name = "companyName")
    private String companyName;
    @XmlElement(name = "useX")
    private Integer useX;
    @XmlElement(name = "useY")
    private Integer useY;
    @XmlElement(name = "useWidth")
    private Integer useWidth;
    @XmlElement(name = "useHeight")
    private Integer useHeight;
    @XmlElement(name = "paperHeight")
    private Integer paperHeight;
    @XmlElement(name = "paperWidth")
    private Integer paperWidth;
    @XmlElement(name = "tmPrintName")
    private String tmPrintName;
    @XmlTransient
    public String getTmPrintName() {
        return tmPrintName;
    }

    public void setTmPrintName(String tmPrintName) {
        this.tmPrintName = tmPrintName;
    }

    @XmlTransient
    public Integer getPaperWidth() {
        return paperWidth;
    }

    public void setPaperWidth(Integer paperWidth) {
        this.paperWidth = paperWidth;
    }

    @XmlTransient
    public Integer getUseX() {
        return useX;
    }

    public void setUseX(Integer useX) {
        this.useX = useX;
    }
    @XmlTransient
    public Integer getUseY() {
        return useY;
    }

    public void setUseY(Integer useY) {
        this.useY = useY;
    }
    @XmlTransient
    public Integer getUseWidth() {
        return useWidth;
    }

    public void setUseWidth(Integer useWidth) {
        this.useWidth = useWidth;
    }
    @XmlTransient
    public Integer getUseHeight() {
        return useHeight;
    }

    public void setUseHeight(Integer useHeight) {
        this.useHeight = useHeight;
    }
    @XmlTransient
    public Integer getPaperHeight() {
        return paperHeight;
    }

    public void setPaperHeight(Integer paperHeight) {
        this.paperHeight = paperHeight;
    }

    @XmlTransient
    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    @XmlTransient
    public String getTitleFontName() {
        return titleFontName;
    }

    public void setTitleFontName(String titleFontName) {
        this.titleFontName = titleFontName;
    }

    @XmlTransient
    public Integer getTitleSize() {
        return titleSize;
    }

    public void setTitleSize(Integer titleSize) {
        this.titleSize = titleSize;
    }
    @XmlTransient
    public Integer getAddressSize() {
        return addressSize;
    }

    public void setAddressSize(Integer addressSize) {
        this.addressSize = addressSize;
    }
    @XmlTransient
    public Integer getNumberSize() {
        return numberSize;
    }

    public void setNumberSize(Integer numberSize) {
        this.numberSize = numberSize;
    }

    @XmlTransient
    public Integer getX() {
        return x;
    }

    public void setX(Integer x) {
        this.x = x;
    }
    @XmlTransient
    public Integer getY() {
        return y;
    }

    public void setY(Integer y) {
        this.y = y;
    }
    @XmlTransient
    public Integer getWidth() {
        return width;
    }

    public void setWidth(Integer width) {
        this.width = width;
    }
    @XmlTransient
    public Integer getHeight() {
        return height;
    }

    public void setHeight(Integer height) {
        this.height = height;
    }
    @XmlTransient
    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }
}
